package com.groupseven.backend.domain.Permission;

import java.util.List;

public class PermissionItem {

    public String AuthoritiesName;

    public int AuthoritiesNumber;

    public int isParent;

    public int ParentNumber;

    public String PermissionTitle;

    public List<PermissionItem> Subs;

    public String getAuthoritiesName() {
        return AuthoritiesName;
    }

    public void setAuthoritiesName(String authoritiesName) {
        AuthoritiesName = authoritiesName;
    }

    public int getAuthoritiesNumber() {
        return AuthoritiesNumber;
    }

    public void setAuthoritiesNumber(int authoritiesNumber) {
        AuthoritiesNumber = authoritiesNumber;
    }

    public int getIsParent() {
        return isParent;
    }

    public void setIsParent(int isParent) {
        this.isParent = isParent;
    }

    public int getParentNumber() {
        return ParentNumber;
    }

    public void setParentNumber(int parentNumber) {
        ParentNumber = parentNumber;
    }

    public String getPermissionTitle() {
        return PermissionTitle;
    }

    public void setPermissionTitle(String permissionTitle) {
        PermissionTitle = permissionTitle;
    }

    public List<PermissionItem> getSubs() {
        return Subs;
    }

    public void setSubs(List<PermissionItem> subs) {
        Subs = subs;
    }

    public PermissionItem() {
    }

    public PermissionItem(String authoritiesName, int authoritiesNumber, int isParent, int parentNumber, String permissionTitle) {
        AuthoritiesName = authoritiesName;
        AuthoritiesNumber = authoritiesNumber;
        this.isParent = isParent;
        ParentNumber = parentNumber;
        PermissionTitle = permissionTitle;
    }

    public PermissionItem(String authoritiesName, int authoritiesNumber, int isParent, int parentNumber, String permissionTitle, List<PermissionItem> subs) {
        AuthoritiesName = authoritiesName;
        AuthoritiesNumber = authoritiesNumber;
        this.isParent = isParent;
        ParentNumber = parentNumber;
        PermissionTitle = permissionTitle;
        Subs = subs;
    }
}
